<template>
  <div>
    <h2>学生姓名：{{ studentName }}</h2>
    <h3>所在班级：{{ className }}</h3>
    <School>
      <img src="../assets/logo.png" alt="">
    </School>
  </div>
</template>

<script>
import School from "./School.vue";

export default {
  // eslint-disable-next-line vue/multi-word-component-names
  name: "Student",
  components: {
    School
  },
  data() {
    return {
      studentName: "谭磊",
      className: "计算机科学与技术二班"
    };
  }
};
</script>